.class public Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;
.super Lcom/teewoo/app/bus/inface/BaseActivity;
.source "StationInLineDetailActivity.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$RefreshTask;
    }
.end annotation


# static fields
.field private static final AUTO_REFRESH_MESSAGE:I = 0x3

.field private static final BUS_COMMING_MESSAGE:I = 0x4

.field private static final GET_DESTINATION_MESSAGE:I = 0x5

.field private static final MULTI_STYLE:Ljava/lang/String; = "multi"

.field private static final SINGLE_STYLE:Ljava/lang/String; = "single"


# instance fields
.field private IconImageView:Landroid/widget/ImageView;

.field private arriveSoundPlay:Z

.field private cTask:Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$RefreshTask;

.field private clickLisenter:Landroid/view/View$OnClickListener;

.field private collectButton:Landroid/view/View;

.field private collectView:Landroid/widget/ImageView;

.field private commingSoundPlay:Z

.field private curStyle:Ljava/lang/String;

.field private detailButton:Landroid/view/View;

.field private detailView:Landroid/widget/ImageView;

.field private distanceInfo:Ljava/lang/String;

.field private drivingImageView:Landroid/widget/ImageView;

.field private inflate:Landroid/view/LayoutInflater;

.field private infolayout:Landroid/widget/TextView;

.field private isArrivedTV:Landroid/widget/TextView;

.field private isCollected:Z

.field private isOnwayTV:Landroid/widget/TextView;

.field private lastOver:Z

.field private layout:Landroid/widget/LinearLayout;

.field private leaveTimeInfo:Ljava/lang/String;

.field private leaveTimeView:Landroid/widget/TextView;

.field private line:Lcom/teewoo/app/bus/model/Line;

.field private lineCollectionManager:Lcom/teewoo/app/bus/manager/collection/LineCollectionManager;

.field private lineId:I

.field private lineInfo:Landroid/widget/TextView;

.field private lineName:Ljava/lang/String;

.field private lineStatus:Lcom/teewoo/app/bus/model/LineStatus;

.field private mainLayout:Landroid/widget/LinearLayout;

.field private mp:Landroid/media/MediaPlayer;

.field private myHandler:Landroid/os/Handler;

.field private nameTextView:Landroid/widget/TextView;

.field private offStation:Lcom/teewoo/app/bus/model/Station;

.field private proBar:Landroid/widget/ProgressBar;

.field private proDlg:Landroid/app/ProgressDialog;

.field private proInfo:Landroid/widget/TextView;

.field private remindModeView:Landroid/widget/TextView;

.field private remind_mode:I

.field private remind_mode_name:Ljava/lang/String;

.field private section:Lcom/teewoo/app/bus/model/Section;

.field private settingButton:Landroid/view/View;

.field private shareButton:Landroid/view/View;

.field private shareView:Landroid/widget/ImageView;

.field private stationId:I

.field private stationName:Ljava/lang/String;

.field private stopImageView:Landroid/widget/ImageView;

.field private style_pos:I

.field private timeAreaView:Landroid/widget/TextView;

.field private timer:Ljava/util/Timer;

.field private titleView:Landroid/widget/TextView;


# direct methods
.method public constructor <init>()V
    .locals 4

    .prologue
    const/4 v3, 0x1

    const/4 v2, -0x1

    const/4 v1, 0x0

    const/4 v0, 0x0

    .line 50
    invoke-direct {p0}, Lcom/teewoo/app/bus/inface/BaseActivity;-><init>()V

    .line 56
    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->IconImageView:Landroid/widget/ImageView;

    .line 57
    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->drivingImageView:Landroid/widget/ImageView;

    .line 58
    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->stopImageView:Landroid/widget/ImageView;

    .line 59
    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->nameTextView:Landroid/widget/TextView;

    .line 68
    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->line:Lcom/teewoo/app/bus/model/Line;

    .line 70
    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->lineStatus:Lcom/teewoo/app/bus/model/LineStatus;

    .line 72
    iput v2, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->lineId:I

    .line 75
    iput v2, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->stationId:I

    .line 77
    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->distanceInfo:Ljava/lang/String;

    .line 78
    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->leaveTimeInfo:Ljava/lang/String;

    .line 83
    iput-boolean v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->isCollected:Z

    .line 111
    iput v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->style_pos:I

    .line 113
    iput v3, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remind_mode:I

    .line 118
    iput-boolean v3, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->lastOver:Z

    .line 120
    iput-boolean v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->commingSoundPlay:Z

    .line 122
    iput-boolean v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->arriveSoundPlay:Z

    .line 516
    new-instance v0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1;

    invoke-direct {v0, p0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$1;-><init>(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)V

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->clickLisenter:Landroid/view/View$OnClickListener;

    .line 50
    return-void
.end method

.method static synthetic access$0(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/widget/ImageView;
    .locals 1
    .parameter

    .prologue
    .line 90
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->shareView:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$1(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/widget/ImageView;
    .locals 1
    .parameter

    .prologue
    .line 91
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->detailView:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$10(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)I
    .locals 1
    .parameter

    .prologue
    .line 75
    iget v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->stationId:I

    return v0
.end method

.method static synthetic access$11(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 74
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->stationName:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$12(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/os/Handler;
    .locals 1
    .parameter

    .prologue
    .line 103
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->myHandler:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$13(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Z
    .locals 1
    .parameter

    .prologue
    .line 118
    iget-boolean v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->lastOver:Z

    return v0
.end method

.method static synthetic access$14(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 118
    iput-boolean p1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->lastOver:Z

    return-void
.end method

.method static synthetic access$15(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/widget/LinearLayout;
    .locals 1
    .parameter

    .prologue
    .line 52
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->mainLayout:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic access$16(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 110
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->curStyle:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$17(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Z
    .locals 1
    .parameter

    .prologue
    .line 120
    iget-boolean v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->commingSoundPlay:Z

    return v0
.end method

.method static synthetic access$18(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;Landroid/media/MediaPlayer;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 116
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->mp:Landroid/media/MediaPlayer;

    return-void
.end method

.method static synthetic access$19(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/media/MediaPlayer;
    .locals 1
    .parameter

    .prologue
    .line 116
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->mp:Landroid/media/MediaPlayer;

    return-object v0
.end method

.method static synthetic access$2(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/widget/ImageView;
    .locals 1
    .parameter

    .prologue
    .line 92
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->collectView:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$20(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 120
    iput-boolean p1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->commingSoundPlay:Z

    return-void
.end method

.method static synthetic access$21(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Z
    .locals 1
    .parameter

    .prologue
    .line 122
    iget-boolean v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->arriveSoundPlay:Z

    return v0
.end method

.method static synthetic access$22(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;Z)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 122
    iput-boolean p1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->arriveSoundPlay:Z

    return-void
.end method

.method static synthetic access$23(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 704
    invoke-direct {p0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->autoRefreh()V

    return-void
.end method

.method static synthetic access$24(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/app/ProgressDialog;
    .locals 1
    .parameter

    .prologue
    .line 96
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->proDlg:Landroid/app/ProgressDialog;

    return-object v0
.end method

.method static synthetic access$25(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/widget/ProgressBar;
    .locals 1
    .parameter

    .prologue
    .line 97
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->proBar:Landroid/widget/ProgressBar;

    return-object v0
.end method

.method static synthetic access$26(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/widget/TextView;
    .locals 1
    .parameter

    .prologue
    .line 98
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->proInfo:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$27(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/widget/TextView;
    .locals 1
    .parameter

    .prologue
    .line 63
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->lineInfo:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$28(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Lcom/teewoo/app/bus/model/Line;
    .locals 1
    .parameter

    .prologue
    .line 68
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->line:Lcom/teewoo/app/bus/model/Line;

    return-object v0
.end method

.method static synthetic access$29(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/widget/TextView;
    .locals 1
    .parameter

    .prologue
    .line 65
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->timeAreaView:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$3(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 73
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->lineName:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$30(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/widget/TextView;
    .locals 1
    .parameter

    .prologue
    .line 66
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remindModeView:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$31(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 114
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remind_mode_name:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$32(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 253
    invoke-direct {p0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->initSubPage()V

    return-void
.end method

.method static synthetic access$33(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/widget/TextView;
    .locals 1
    .parameter

    .prologue
    .line 59
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->nameTextView:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$34(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/widget/ImageView;
    .locals 1
    .parameter

    .prologue
    .line 56
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->IconImageView:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$35(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Lcom/teewoo/app/bus/model/Station;
    .locals 1
    .parameter

    .prologue
    .line 81
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->offStation:Lcom/teewoo/app/bus/model/Station;

    return-object v0
.end method

.method static synthetic access$36(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;Ljava/util/List;)Lcom/teewoo/app/bus/model/LineStatus;
    .locals 1
    .parameter
    .parameter

    .prologue
    .line 492
    invoke-direct {p0, p1}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->getNearestBus(Ljava/util/List;)Lcom/teewoo/app/bus/model/LineStatus;

    move-result-object v0

    return-object v0
.end method

.method static synthetic access$37(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;Lcom/teewoo/app/bus/model/LineStatus;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 70
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->lineStatus:Lcom/teewoo/app/bus/model/LineStatus;

    return-void
.end method

.method static synthetic access$38(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Lcom/teewoo/app/bus/model/LineStatus;
    .locals 1
    .parameter

    .prologue
    .line 70
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->lineStatus:Lcom/teewoo/app/bus/model/LineStatus;

    return-object v0
.end method

.method static synthetic access$39(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/widget/ImageView;
    .locals 1
    .parameter

    .prologue
    .line 58
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->stopImageView:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$4(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 77
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->distanceInfo:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$40(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/widget/TextView;
    .locals 1
    .parameter

    .prologue
    .line 61
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->isArrivedTV:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$41(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/widget/ImageView;
    .locals 1
    .parameter

    .prologue
    .line 57
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->drivingImageView:Landroid/widget/ImageView;

    return-object v0
.end method

.method static synthetic access$42(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/widget/TextView;
    .locals 1
    .parameter

    .prologue
    .line 60
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->isOnwayTV:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$43(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/widget/LinearLayout;
    .locals 1
    .parameter

    .prologue
    .line 53
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->layout:Landroid/widget/LinearLayout;

    return-object v0
.end method

.method static synthetic access$44(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 77
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->distanceInfo:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$45(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;I)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 75
    iput p1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->stationId:I

    return-void
.end method

.method static synthetic access$46(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 74
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->stationName:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$47(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/widget/TextView;
    .locals 1
    .parameter

    .prologue
    .line 54
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->infolayout:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$48(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)I
    .locals 1
    .parameter

    .prologue
    .line 113
    iget v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remind_mode:I

    return v0
.end method

.method static synthetic access$49(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/widget/TextView;
    .locals 1
    .parameter

    .prologue
    .line 64
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->leaveTimeView:Landroid/widget/TextView;

    return-object v0
.end method

.method static synthetic access$5(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Ljava/lang/String;
    .locals 1
    .parameter

    .prologue
    .line 78
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->leaveTimeInfo:Ljava/lang/String;

    return-object v0
.end method

.method static synthetic access$50(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 78
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->leaveTimeInfo:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$51(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;Landroid/widget/RadioGroup;I)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 664
    invoke-direct {p0, p1, p2}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->setRemindMode(Landroid/widget/RadioGroup;I)V

    return-void
.end method

.method static synthetic access$52(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;Landroid/widget/RadioGroup;I)V
    .locals 0
    .parameter
    .parameter
    .parameter

    .prologue
    .line 630
    invoke-direct {p0, p1, p2}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->setDisplayMode(Landroid/widget/RadioGroup;I)V

    return-void
.end method

.method static synthetic access$53(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)I
    .locals 1
    .parameter

    .prologue
    .line 111
    iget v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->style_pos:I

    return v0
.end method

.method static synthetic access$54(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;Ljava/lang/String;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 110
    iput-object p1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->curStyle:Ljava/lang/String;

    return-void
.end method

.method static synthetic access$55(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;I)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 111
    iput p1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->style_pos:I

    return-void
.end method

.method static synthetic access$6(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Landroid/content/Context;
    .locals 1
    .parameter

    .prologue
    .line 50
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->context:Landroid/content/Context;

    return-object v0
.end method

.method static synthetic access$7(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)I
    .locals 1
    .parameter

    .prologue
    .line 72
    iget v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->lineId:I

    return v0
.end method

.method static synthetic access$8(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 597
    invoke-direct {p0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->showSettingDialog()V

    return-void
.end method

.method static synthetic access$9(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)Lcom/teewoo/app/bus/manager/collection/LineCollectionManager;
    .locals 1
    .parameter

    .prologue
    .line 94
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->lineCollectionManager:Lcom/teewoo/app/bus/manager/collection/LineCollectionManager;

    return-object v0
.end method

.method private autoRefreh()V
    .locals 6

    .prologue
    .line 705
    new-instance v0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$RefreshTask;

    const/4 v1, 0x0

    invoke-direct {v0, p0, v1}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$RefreshTask;-><init>(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$RefreshTask;)V

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->cTask:Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$RefreshTask;

    .line 706
    new-instance v0, Ljava/util/Timer;

    invoke-direct {v0}, Ljava/util/Timer;-><init>()V

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->timer:Ljava/util/Timer;

    .line 708
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->timer:Ljava/util/Timer;

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->cTask:Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$RefreshTask;

    const-wide/16 v2, 0x0

    const-wide/16 v4, 0x3a98

    invoke-virtual/range {v0 .. v5}, Ljava/util/Timer;->schedule(Ljava/util/TimerTask;JJ)V

    .line 709
    return-void
.end method

.method private getNearestBus(Ljava/util/List;)Lcom/teewoo/app/bus/model/LineStatus;
    .locals 6
    .parameter
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Lcom/teewoo/app/bus/model/LineStatus;",
            ">;)",
            "Lcom/teewoo/app/bus/model/LineStatus;"
        }
    .end annotation

    .prologue
    .line 494
    .local p1, list:Ljava/util/List;,"Ljava/util/List<Lcom/teewoo/app/bus/model/LineStatus;>;"
    const/4 v3, 0x0

    .line 496
    .local v3, temp:Lcom/teewoo/app/bus/model/LineStatus;
    const v0, 0x7fffffff

    .line 497
    .local v0, minStation:I
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v4

    :cond_0
    :goto_0
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-nez v5, :cond_1

    .line 509
    return-object v3

    .line 497
    :cond_1
    invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/teewoo/app/bus/model/LineStatus;

    .line 498
    .local v2, s:Lcom/teewoo/app/bus/model/LineStatus;
    invoke-virtual {v2}, Lcom/teewoo/app/bus/model/LineStatus;->getStationNo()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/Integer;->intValue()I

    move-result v1

    .line 500
    .local v1, num:I
    if-ltz v1, :cond_0

    .line 502
    invoke-virtual {v2}, Lcom/teewoo/app/bus/model/LineStatus;->getStationNo()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/Integer;->intValue()I

    move-result v5

    if-ge v5, v0, :cond_0

    .line 503
    invoke-virtual {v2}, Lcom/teewoo/app/bus/model/LineStatus;->getStationNo()Ljava/lang/String;

    move-result-object v5

    invoke-static {v5}, Ljava/lang/Integer;->valueOf(Ljava/lang/String;)Ljava/lang/Integer;

    move-result-object v5

    invoke-virtual {v5}, Ljava/lang/Integer;->intValue()I

    move-result v0

    .line 504
    move-object v3, v2

    goto :goto_0
.end method

.method private getTransferValue()V
    .locals 4

    .prologue
    const/4 v3, -0x1

    .line 231
    invoke-virtual {p0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    .line 232
    .local v0, intent:Landroid/content/Intent;
    const-string v1, "com.teewoo.app.bus.collection.key"

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->getBooleanExtra(Ljava/lang/String;Z)Z

    move-result v1

    iput-boolean v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->isCollected:Z

    .line 234
    iget-boolean v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->isCollected:Z

    if-eqz v1, :cond_0

    .line 235
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->collectView:Landroid/widget/ImageView;

    const v2, 0x7f020013

    invoke-virtual {v1, v2}, Landroid/widget/ImageView;->setBackgroundResource(I)V

    .line 236
    :cond_0
    const-string v1, "com.teewoo.app.bus.station.in.line.detail"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getSerializableExtra(Ljava/lang/String;)Ljava/io/Serializable;

    move-result-object v1

    check-cast v1, Lcom/teewoo/app/bus/model/Section;

    iput-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->section:Lcom/teewoo/app/bus/model/Section;

    .line 237
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->section:Lcom/teewoo/app/bus/model/Section;

    if-nez v1, :cond_1

    .line 238
    const-string v1, "com.teewoo.app.bus.lineId"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v1

    iput v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->lineId:I

    .line 239
    const-string v1, "com.teewoo.app.bus.lineName"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->lineName:Ljava/lang/String;

    .line 240
    const-string v1, "com.teewoo.app.bus.stationId"

    invoke-virtual {v0, v1, v3}, Landroid/content/Intent;->getIntExtra(Ljava/lang/String;I)I

    move-result v1

    iput v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->stationId:I

    .line 241
    const-string v1, "com.teewoo.app.bus.stationName"

    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->stationName:Ljava/lang/String;

    .line 250
    :goto_0
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->titleView:Landroid/widget/TextView;

    iget-object v2, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->lineName:Ljava/lang/String;

    invoke-virtual {v1, v2}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 251
    return-void

    .line 243
    :cond_1
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->section:Lcom/teewoo/app/bus/model/Section;

    invoke-virtual {v1}, Lcom/teewoo/app/bus/model/Section;->getOnStation()Lcom/teewoo/app/bus/model/Station;

    move-result-object v1

    invoke-virtual {v1}, Lcom/teewoo/app/bus/model/Station;->getId()Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    iput v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->stationId:I

    .line 244
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->section:Lcom/teewoo/app/bus/model/Section;

    invoke-virtual {v1}, Lcom/teewoo/app/bus/model/Section;->getOnStation()Lcom/teewoo/app/bus/model/Station;

    move-result-object v1

    invoke-virtual {v1}, Lcom/teewoo/app/bus/model/Station;->getName()Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->stationName:Ljava/lang/String;

    .line 245
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->section:Lcom/teewoo/app/bus/model/Section;

    invoke-virtual {v1}, Lcom/teewoo/app/bus/model/Section;->getOffStation()Lcom/teewoo/app/bus/model/Station;

    move-result-object v1

    iput-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->offStation:Lcom/teewoo/app/bus/model/Station;

    .line 246
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->section:Lcom/teewoo/app/bus/model/Section;

    invoke-virtual {v1}, Lcom/teewoo/app/bus/model/Section;->getLine()Lcom/teewoo/app/bus/model/Line;

    move-result-object v1

    invoke-virtual {v1}, Lcom/teewoo/app/bus/model/Line;->getName()Ljava/lang/String;

    move-result-object v1

    iput-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->lineName:Ljava/lang/String;

    .line 248
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->section:Lcom/teewoo/app/bus/model/Section;

    invoke-virtual {v1}, Lcom/teewoo/app/bus/model/Section;->getLine()Lcom/teewoo/app/bus/model/Line;

    move-result-object v1

    invoke-virtual {v1}, Lcom/teewoo/app/bus/model/Line;->getId()Ljava/lang/Integer;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/Integer;->intValue()I

    move-result v1

    iput v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->lineId:I

    goto :goto_0
.end method

.method private initListener()V
    .locals 2

    .prologue
    .line 223
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->back:Landroid/view/View;

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->clickLisenter:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 224
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->settingButton:Landroid/view/View;

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->clickLisenter:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 225
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->shareButton:Landroid/view/View;

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->clickLisenter:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 226
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->detailButton:Landroid/view/View;

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->clickLisenter:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 227
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->collectButton:Landroid/view/View;

    iget-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->clickLisenter:Landroid/view/View$OnClickListener;

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 228
    return-void
.end method

.method private initSubPage()V
    .locals 3

    .prologue
    .line 254
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->inflate:Landroid/view/LayoutInflater;

    const v1, 0x7f03000d

    const/4 v2, 0x0

    invoke-virtual {v0, v1, v2}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->layout:Landroid/widget/LinearLayout;

    .line 255
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->layout:Landroid/widget/LinearLayout;

    const v1, 0x7f0a0030

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->drivingImageView:Landroid/widget/ImageView;

    .line 256
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->layout:Landroid/widget/LinearLayout;

    const v1, 0x7f0a002f

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->stopImageView:Landroid/widget/ImageView;

    .line 257
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->layout:Landroid/widget/LinearLayout;

    const v1, 0x7f0a0033

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->nameTextView:Landroid/widget/TextView;

    .line 258
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->layout:Landroid/widget/LinearLayout;

    const v1, 0x7f0a0031

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->IconImageView:Landroid/widget/ImageView;

    .line 259
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->layout:Landroid/widget/LinearLayout;

    const v1, 0x7f0a002d

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->isArrivedTV:Landroid/widget/TextView;

    .line 260
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->layout:Landroid/widget/LinearLayout;

    const v1, 0x7f0a002e

    invoke-virtual {v0, v1}, Landroid/widget/LinearLayout;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->isOnwayTV:Landroid/widget/TextView;

    .line 261
    return-void
.end method

.method private setDisplayMode(Landroid/widget/RadioGroup;I)V
    .locals 5
    .parameter "rg"
    .parameter "displayId"

    .prologue
    const/4 v4, 0x0

    const v3, 0x7f080043

    const/4 v2, 0x1

    .line 631
    packed-switch p2, :pswitch_data_0

    .line 661
    :cond_0
    :goto_0
    return-void

    .line 633
    :pswitch_0
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->curStyle:Ljava/lang/String;

    const-string v1, "single"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 635
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->context:Landroid/content/Context;

    .line 636
    invoke-virtual {p0, v3}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 635
    invoke-static {v0, v4, v1, v2, v2}, Landroid/app/ProgressDialog;->show(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZZ)Landroid/app/ProgressDialog;

    move-result-object v0

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->proDlg:Landroid/app/ProgressDialog;

    .line 637
    new-instance v0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$7;

    invoke-direct {v0, p0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$7;-><init>(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)V

    .line 643
    invoke-virtual {v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$7;->start()V

    goto :goto_0

    .line 647
    :pswitch_1
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->curStyle:Ljava/lang/String;

    const-string v1, "multi"

    invoke-virtual {v0, v1}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-nez v0, :cond_0

    .line 649
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->context:Landroid/content/Context;

    .line 650
    invoke-virtual {p0, v3}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    .line 649
    invoke-static {v0, v4, v1, v2, v2}, Landroid/app/ProgressDialog;->show(Landroid/content/Context;Ljava/lang/CharSequence;Ljava/lang/CharSequence;ZZ)Landroid/app/ProgressDialog;

    move-result-object v0

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->proDlg:Landroid/app/ProgressDialog;

    .line 651
    new-instance v0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$8;

    invoke-direct {v0, p0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$8;-><init>(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)V

    .line 657
    invoke-virtual {v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$8;->start()V

    goto :goto_0

    .line 631
    nop

    :pswitch_data_0
    .packed-switch 0x7f0a0084
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method

.method private setRemindMode(Landroid/widget/RadioGroup;I)V
    .locals 8
    .parameter "rg"
    .parameter "remindId"

    .prologue
    const/4 v7, 0x2

    const/4 v6, 0x1

    const/4 v5, 0x0

    const/high16 v4, -0x100

    const v3, 0x7f080068

    .line 665
    packed-switch p2, :pswitch_data_0

    .line 700
    :cond_0
    :goto_0
    return-void

    .line 667
    :pswitch_0
    iget v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remind_mode:I

    if-eq v0, v6, :cond_0

    .line 669
    const v0, 0x7f080098

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remind_mode_name:Ljava/lang/String;

    .line 671
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remindModeView:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-virtual {p0, v3}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 672
    iget-object v2, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remind_mode_name:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v3}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    .line 671
    invoke-static {v1, v2, v4}, Lcom/teewoo/app/bus/util/Utils;->highlightKeyword(Ljava/lang/String;Ljava/lang/String;I)Landroid/text/SpannableStringBuilder;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 673
    iput v6, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remind_mode:I

    .line 675
    iput-boolean v5, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->commingSoundPlay:Z

    goto :goto_0

    .line 678
    :pswitch_1
    iget v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remind_mode:I

    if-eq v0, v7, :cond_0

    .line 680
    const v0, 0x7f080099

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remind_mode_name:Ljava/lang/String;

    .line 682
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remindModeView:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-virtual {p0, v3}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 683
    iget-object v2, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remind_mode_name:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v3}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    .line 682
    invoke-static {v1, v2, v4}, Lcom/teewoo/app/bus/util/Utils;->highlightKeyword(Ljava/lang/String;Ljava/lang/String;I)Landroid/text/SpannableStringBuilder;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 684
    iput v7, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remind_mode:I

    .line 686
    iput-boolean v5, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->commingSoundPlay:Z

    goto :goto_0

    .line 689
    :pswitch_2
    iget v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remind_mode:I

    const/4 v1, 0x3

    if-eq v0, v1, :cond_0

    .line 691
    const v0, 0x7f08009a

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remind_mode_name:Ljava/lang/String;

    .line 693
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remindModeView:Landroid/widget/TextView;

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-virtual {p0, v3}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-static {v2}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v2

    invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    .line 694
    iget-object v2, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remind_mode_name:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v1

    invoke-virtual {p0, v3}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    .line 693
    invoke-static {v1, v2, v4}, Lcom/teewoo/app/bus/util/Utils;->highlightKeyword(Ljava/lang/String;Ljava/lang/String;I)Landroid/text/SpannableStringBuilder;

    move-result-object v1

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 695
    const/4 v0, 0x3

    iput v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remind_mode:I

    .line 697
    iput-boolean v5, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->commingSoundPlay:Z

    goto/16 :goto_0

    .line 665
    nop

    :pswitch_data_0
    .packed-switch 0x7f0a0088
        :pswitch_0
        :pswitch_1
        :pswitch_2
    .end packed-switch
.end method

.method private showSettingDialog()V
    .locals 8

    .prologue
    const/4 v7, 0x0

    const/4 v6, 0x1

    .line 598
    iget-object v4, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->inflate:Landroid/view/LayoutInflater;

    const v5, 0x7f030024

    invoke-virtual {v4, v5, v7}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v3

    .line 599
    .local v3, view:Landroid/view/View;
    const v4, 0x7f0a0083

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/RadioGroup;

    .line 600
    .local v1, displayGrounp:Landroid/widget/RadioGroup;
    iget v4, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->style_pos:I

    invoke-virtual {v1, v4}, Landroid/widget/RadioGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/RadioButton;

    invoke-virtual {v4, v6}, Landroid/widget/RadioButton;->setChecked(Z)V

    .line 601
    const v4, 0x7f0a0087

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/RadioGroup;

    .line 602
    .local v2, remindGrounp:Landroid/widget/RadioGroup;
    iget v4, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remind_mode:I

    if-eqz v4, :cond_0

    .line 603
    iget v4, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remind_mode:I

    sub-int/2addr v4, v6

    invoke-virtual {v2, v4}, Landroid/widget/RadioGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/RadioButton;

    invoke-virtual {v4, v6}, Landroid/widget/RadioButton;->setChecked(Z)V

    .line 606
    :goto_0
    new-instance v0, Landroid/app/AlertDialog$Builder;

    iget-object v4, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->context:Landroid/content/Context;

    invoke-direct {v0, v4}, Landroid/app/AlertDialog$Builder;-><init>(Landroid/content/Context;)V

    .line 608
    .local v0, builder:Landroid/app/AlertDialog$Builder;
    const v4, 0x7f02005d

    invoke-virtual {v0, v4}, Landroid/app/AlertDialog$Builder;->setIcon(I)Landroid/app/AlertDialog$Builder;

    move-result-object v4

    const v5, 0x7f080072

    invoke-virtual {v4, v5}, Landroid/app/AlertDialog$Builder;->setTitle(I)Landroid/app/AlertDialog$Builder;

    move-result-object v4

    .line 609
    invoke-virtual {v4, v3}, Landroid/app/AlertDialog$Builder;->setView(Landroid/view/View;)Landroid/app/AlertDialog$Builder;

    move-result-object v4

    const v5, 0x7f08004e

    new-instance v6, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$6;

    invoke-direct {v6, p0, v1, v2}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$6;-><init>(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;Landroid/widget/RadioGroup;Landroid/widget/RadioGroup;)V

    invoke-virtual {v4, v5, v6}, Landroid/app/AlertDialog$Builder;->setPositiveButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v4

    .line 626
    const v5, 0x7f08004f

    invoke-virtual {v4, v5, v7}, Landroid/app/AlertDialog$Builder;->setNegativeButton(ILandroid/content/DialogInterface$OnClickListener;)Landroid/app/AlertDialog$Builder;

    move-result-object v4

    invoke-virtual {v4}, Landroid/app/AlertDialog$Builder;->create()Landroid/app/AlertDialog;

    move-result-object v4

    invoke-virtual {v4}, Landroid/app/AlertDialog;->show()V

    .line 627
    return-void

    .line 605
    .end local v0           #builder:Landroid/app/AlertDialog$Builder;
    :cond_0
    const/4 v4, 0x0

    invoke-virtual {v2, v4}, Landroid/widget/RadioGroup;->getChildAt(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/RadioButton;

    invoke-virtual {v4, v6}, Landroid/widget/RadioButton;->setChecked(Z)V

    goto :goto_0
.end method

.method private stopTimerTask()V
    .locals 2

    .prologue
    const/4 v1, 0x0

    .line 719
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->cTask:Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$RefreshTask;

    if-eqz v0, :cond_0

    .line 720
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->cTask:Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$RefreshTask;

    invoke-virtual {v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$RefreshTask;->cancel()Z

    .line 722
    :cond_0
    iput-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->cTask:Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$RefreshTask;

    .line 723
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->timer:Ljava/util/Timer;

    if-eqz v0, :cond_1

    .line 724
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->timer:Ljava/util/Timer;

    invoke-virtual {v0}, Ljava/util/Timer;->cancel()V

    .line 726
    :cond_1
    iput-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->timer:Ljava/util/Timer;

    .line 727
    return-void
.end method


# virtual methods
.method public getDataAndLayout(IIZ)V
    .locals 3
    .parameter "lineId"
    .parameter "staId"
    .parameter "isSingle"

    .prologue
    const/4 v2, -0x1

    .line 270
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->context:Landroid/content/Context;

    invoke-static {v1}, Lcom/teewoo/app/bus/util/Utils;->getNetworkStatus(Landroid/content/Context;)Z

    move-result v1

    if-nez v1, :cond_1

    .line 276
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->context:Landroid/content/Context;

    invoke-static {v1}, Lcom/teewoo/app/bus/util/DialogUtil;->netSettingDialog(Landroid/content/Context;)V

    .line 490
    :cond_0
    :goto_0
    return-void

    .line 279
    :cond_1
    if-eq p1, v2, :cond_0

    if-eq p2, v2, :cond_0

    .line 288
    :try_start_0
    invoke-static {p1, p2}, Lcom/teewoo/app/bus/util/SearchUtil;->getBusLocation(II)Lcom/teewoo/app/bus/model/Line;

    move-result-object v1

    iput-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->line:Lcom/teewoo/app/bus/model/Line;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 297
    :goto_1
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->line:Lcom/teewoo/app/bus/model/Line;

    if-eqz v1, :cond_2

    .line 298
    new-instance v1, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$4;

    invoke-direct {v1, p0, p3}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$4;-><init>(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;Z)V

    invoke-virtual {p0, v1}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->runOnUiThread(Ljava/lang/Runnable;)V

    goto :goto_0

    .line 289
    :catch_0
    move-exception v1

    move-object v0, v1

    .line 290
    .local v0, e:Ljava/lang/Exception;
    iget-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->context:Landroid/content/Context;

    const v2, 0x7f080018

    invoke-static {v1, v2}, Lcom/teewoo/app/bus/util/ToastUtil;->showToastCenter(Landroid/content/Context;I)V

    .line 295
    const/4 v1, 0x0

    iput-object v1, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->line:Lcom/teewoo/app/bus/model/Line;

    goto :goto_1

    .line 470
    .end local v0           #e:Ljava/lang/Exception;
    :cond_2
    new-instance v1, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$5;

    invoke-direct {v1, p0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$5;-><init>(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)V

    invoke-virtual {p0, v1}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->runOnUiThread(Ljava/lang/Runnable;)V

    goto :goto_0
.end method

.method public initialUI()V
    .locals 3

    .prologue
    .line 126
    invoke-super {p0}, Lcom/teewoo/app/bus/inface/BaseActivity;->initialUI()V

    .line 127
    iput-object p0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->context:Landroid/content/Context;

    .line 128
    sget-object v0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->cityView:Landroid/widget/TextView;

    sget-object v1, Lcom/teewoo/app/bus/ui/Home4StaticMap;->currentCityAddress:Ljava/lang/String;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 129
    const v0, 0x7f0a0090

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->mainLayout:Landroid/widget/LinearLayout;

    .line 130
    const-string v0, "layout_inflater"

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/view/LayoutInflater;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->inflate:Landroid/view/LayoutInflater;

    .line 131
    new-instance v0, Lcom/teewoo/app/bus/manager/collection/LineCollectionManager;

    invoke-direct {v0, p0}, Lcom/teewoo/app/bus/manager/collection/LineCollectionManager;-><init>(Landroid/content/Context;)V

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->lineCollectionManager:Lcom/teewoo/app/bus/manager/collection/LineCollectionManager;

    .line 133
    const v0, 0x7f0a00a2

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->titleView:Landroid/widget/TextView;

    .line 134
    const v0, 0x7f0a008d

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->timeAreaView:Landroid/widget/TextView;

    .line 135
    const v0, 0x7f0a008e

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remindModeView:Landroid/widget/TextView;

    .line 136
    const v0, 0x7f0a0092

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->leaveTimeView:Landroid/widget/TextView;

    .line 137
    const v0, 0x7f0a008c

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->lineInfo:Landroid/widget/TextView;

    .line 138
    const v0, 0x7f0a0091

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->infolayout:Landroid/widget/TextView;

    .line 140
    const v0, 0x7f0a000e

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->settingButton:Landroid/view/View;

    .line 141
    const v0, 0x7f0a0014

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->shareButton:Landroid/view/View;

    .line 142
    const v0, 0x7f0a0010

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->detailButton:Landroid/view/View;

    .line 143
    const v0, 0x7f0a0012

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->collectButton:Landroid/view/View;

    .line 145
    const v0, 0x7f0a0015

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->shareView:Landroid/widget/ImageView;

    .line 147
    const v0, 0x7f0a0011

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->detailView:Landroid/widget/ImageView;

    .line 148
    const v0, 0x7f0a0013

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->collectView:Landroid/widget/ImageView;

    .line 150
    const v0, 0x7f0a002a

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ProgressBar;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->proBar:Landroid/widget/ProgressBar;

    .line 151
    const v0, 0x7f0a008f

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->proInfo:Landroid/widget/TextView;

    .line 153
    const v0, 0x7f050001

    invoke-static {p0, v0}, Landroid/media/MediaPlayer;->create(Landroid/content/Context;I)Landroid/media/MediaPlayer;

    move-result-object v0

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->mp:Landroid/media/MediaPlayer;

    .line 155
    sget-object v0, Lcom/teewoo/app/bus/BeforeLogin;->preference:Landroid/content/SharedPreferences;

    const-string v1, "e_station_style"

    const/4 v2, 0x0

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->style_pos:I

    .line 156
    sget-object v0, Lcom/teewoo/app/bus/BeforeLogin;->preference:Landroid/content/SharedPreferences;

    const-string v1, "e_station_mode"

    const/4 v2, 0x1

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getInt(Ljava/lang/String;I)I

    move-result v0

    iput v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remind_mode:I

    .line 157
    sget-object v0, Lcom/teewoo/app/bus/BeforeLogin;->preference:Landroid/content/SharedPreferences;

    const-string v1, "e_station_style_name"

    const-string v2, "single"

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->curStyle:Ljava/lang/String;

    .line 158
    sget-object v0, Lcom/teewoo/app/bus/BeforeLogin;->preference:Landroid/content/SharedPreferences;

    const-string v1, "e_station_mode_name"

    const v2, 0x7f080098

    invoke-virtual {p0, v2}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->getString(I)Ljava/lang/String;

    move-result-object v2

    invoke-interface {v0, v1, v2}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->remind_mode_name:Ljava/lang/String;

    .line 159
    return-void
.end method

.method public onCreate(Landroid/os/Bundle;)V
    .locals 1
    .parameter "savedInstanceState"

    .prologue
    .line 162
    invoke-super {p0, p1}, Lcom/teewoo/app/bus/inface/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    .line 163
    const v0, 0x7f030025

    invoke-virtual {p0, v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->setContentView(I)V

    .line 164
    invoke-virtual {p0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->initialUI()V

    .line 165
    invoke-direct {p0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->initListener()V

    .line 166
    invoke-direct {p0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->getTransferValue()V

    .line 167
    new-instance v0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$2;

    invoke-direct {v0, p0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$2;-><init>(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)V

    iput-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->myHandler:Landroid/os/Handler;

    .line 215
    new-instance v0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$3;

    invoke-direct {v0, p0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$3;-><init>(Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;)V

    .line 219
    invoke-virtual {v0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity$3;->start()V

    .line 220
    return-void
.end method

.method protected onDestroy()V
    .locals 1

    .prologue
    .line 731
    invoke-direct {p0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->stopTimerTask()V

    .line 732
    iget-object v0, p0, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->mp:Landroid/media/MediaPlayer;

    invoke-virtual {v0}, Landroid/media/MediaPlayer;->release()V

    .line 733
    invoke-super {p0}, Lcom/teewoo/app/bus/inface/BaseActivity;->onDestroy()V

    .line 734
    return-void
.end method

.method public onKeyDown(ILandroid/view/KeyEvent;)Z
    .locals 1
    .parameter "keyCode"
    .parameter "event"

    .prologue
    .line 737
    const/4 v0, 0x4

    if-ne p1, v0, :cond_0

    .line 738
    invoke-virtual {p0}, Lcom/teewoo/app/bus/ui/StationInLineDetailActivity;->finish()V

    .line 739
    const/4 v0, 0x1

    .line 741
    :goto_0
    return v0

    :cond_0
    invoke-super {p0, p1, p2}, Lcom/teewoo/app/bus/inface/BaseActivity;->onKeyDown(ILandroid/view/KeyEvent;)Z

    move-result v0

    goto :goto_0
.end method
